package com.mis.pos.entity;

import com.mis.pos.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Description 分类信息表
 * @Author yuxiang
 * @CreatedDate 2019/10/30 16:17
 */
@Entity
@Table(name = "type")
@Data
public class TypeEntity extends BaseEntity implements Serializable {

    /**
     * 分类编号
     */
    private String classNumber;

    /**
     * 分类名称
     */
    private String className;

    public String getClassNumber() {
        return classNumber;
    }

    public void setClassNumber(String classNumber) {
        this.classNumber = classNumber;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public TypeEntity() {
    }

    public TypeEntity(String classNumber, String className) {
        this.classNumber = classNumber;
        this.className = className;
    }
}
